#ifndef FHE_PRIMS_BLITNODE_H
#define FHE_PRIMS_BLITNODE_H

#include <fhe/prims/SceneNode.h>

namespace fhe
{
  namespace core
  {
    template <size_t D, typename T>
    class BlitNode : public Node, public IRenderable<D,T>
    {
    public:
      BlitNode()
      {
      }
      
      std::string resource;
      
      virtual ~BlitNode()
      {
      }
      
      virtual void render( IRenderContext<D,T>* rc )
      {
        rc->blit( resource );
      }
      
      virtual void unrender( IRenderContext<D,T>* )
      {
      }
    };
    
    typedef BlitNode<2,int> BlitNode2i;
    typedef BlitNode<3,double> BlitNode3d;
  }
}

#endif
